<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        th,tr,td{
            border:1px solid #000;
            padding: 5px;
        }
    </style>
</head>
<body>
    <table>
        <tr>
            <th>id</th>
            <th>学号</th>
            <th>姓名</th>
            <th>出生日期</th>
        </tr>
        <% for(let item of result){ %>
        <tr>
            <td><%= item.id %></td>
            <td><%= item.学号 %></td>
            <td><%= item.姓名 %></td>
            <td><%= item.出生日期 %></td>
        </tr>
        <% } %>
    </table>
</body>
</html>